<?php
    $path = '../bvl';
    $ds = '';
    $dir_handle = @opendir($path) or die("Unable to open $path");
    while ($file = readdir($dir_handle)) 
    {
       if($file!="." && $file!=".." && $file!="est" && $file!="index.php" && $file!="phpinfo.php" && !is_dir($file))
            $ds .= "<li><a target='_blank' href='http://localhost/_FREELANCE/bvl/$file'>http://localhost/_FREELANCE/bvl/$file</a></li>";
    }
    closedir($dir_handle);
    
    echo $ds
?>